﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.ConstrainedExecution;
using System.Runtime.Serialization;
using System.Text;

namespace Ocean.His.MedicalInsurance
{
    [DataContract]
    public class SI1307Data
    {
        [DataMember(Name = "ver")]
        public string Ver { get; set; }

        public SI1307Data(string ver)
        {
            Ver = ver;
        }
    }

    [DataContract]
    public class SI1307InputModel
    {
        [DataMember(Name = "data")]
        public SI1307Data SI1307Data { get; set; }

        public SI1307InputModel(string ver)
        {
            SI1307Data = new SI1307Data(ver);
        }
    }

    /// <summary>
    /// 1307
    /// 疾病与诊断目录
    /// </summary>
    [DataContract]
    public class SI1307RequestModel : SIBaseRequestModel
    {
        public SI1307RequestModel(MedicalInsuranceOption medicalInsuranceOption, string ver) : base(medicalInsuranceOption)
        {
            Infno = "1307";
            Input = new SI1307InputModel(ver);
        }

        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI1307InputModel Input { get; set; }
    }
}
